Part Number Hot Search : 
1N5346B ML13155 MMFTN20 V5805 P2000D MX23L MTC14 30KP120A
Product Description
Full Text Search
 

To Download ETHER-FAST-XP-N3 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  march 2006 ipug09_05.0 10/100 and 1gig ethernet media access controller user? guide isp lever core c o r e tm
2 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide introduction this document serves as a guide containing technical information about the lattice 10/100 and 1gig ethernet media access controller (mac) ip cores. the 10/100 and 1gig ethernet mac cores come with the following documentation and ?es: data sheet protected netlist/database protected rtl simulation model source ?es for instantiating the core core speci?ation features compliant to ieee 802.3z standard generic host interface con?urable 8-bit or 16-bit data bus widths 16-bit wide internal data path generic transmit and receive fifo interface full-duplex operation in gigabit mode full- and half-duplex in 10/100 mode transmit and receive statistics vector programmable inter packet gap (ipg) multicast address filtering supports full-duplex control using pause frames vlan tagged frames automatic re-transmission on collision automatic padding of short frames multicast and broadcast frames optional fcs transmission and reception optional mii management interface module supports jumbo frames up to 8192 kbytes reference design for gmii to rgmii bridge reduced pin count gigabit media independent interface general description the ethernet media access controller (mac) core can be con?ured to operate in either the gigabit mode (1000 mbits/sec data rate) or the fast ethernet mode (10/100 mbits/sec data rate). netlist con?urations of this core operate only in either the gigabit mode or fast ethernet mode. the netlist cannot auto-negotiate between the two different modes. the ethernet mac transmits and receives data between a host processor and an ethernet network. the main func- tion of the ethernet mac is to ensure that the media access rules speci?d in the 802.3 ieee standard are met while transmitting a frame of data over ethernet. figure 2 shows the transmission of data on the ethernet network
3 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide using the frame format. on the receiving side, the ethernet mac extracts the different components of a frame and transfers them to higher applications through the fifo interface. the data received from the g/mii interface is ?st buffered until suf?ient data is available to be processed by the receive mac (rx mac). the preamble and the start of frame delimiter (sfd) information are then extracted from the incoming frame to determine the start of a valid frame. the receive mac checks the address of the received packet and validates whether the frame can be received before transferring it onto the fifo. only valid frames are transferred into the fifo. this feature has the following two bene?s; the systems need not re-calculate the frame check sequence (fcs) again when the frame is being transmitted, and it also keeps the receive mac relatively simple. the tri-speed mac however always calculates crc to check whether the frame was received error-free or not. figure 1. un-tagged ethernet frame format a tagged frame includes a 4-byte vlan tag ?ld, which is located between the source address ?ld and the length/type ?ld. the vlan tag ?ld includes the vlan identi?r and other control information needed when operating with virtual bridged lans as described in ieee p802.1q. block diagram figure 2. 10/100 and 1gig ethernet mac block diagram preamble sfd destination address source address length/ type data/pad frame check sequence 7 bytes 1 byte 6 bytes 6 bytes 2 bytes 46-1500 bytes 4 bytes host interface receive and transmit mac g/mii management interface sys_clk rx_appclk gtx_clk tx_clk reset_n rx_clk mdc hcs_n haddr hdatain hwrite_n hread_n hready_n hdataout hdataout_en_n mdo mdio_en tx_fifodata tx_fifobyten tx_fifoavail tx_fifoeof tx_fifoempty tx_sndpaustim tx_sndpausreq tx_fifoctrl tx_staten tx_macread tx_statvec tx_done tx_disfrm txd txen txer rxdv rxd rxer rx_fifo_full rx_write rx_dbout rx_byten rx_stat_vector rx_stat_en ignore_next_pkt rx_eof rx_error rx_fifo_error mdi col crs
4 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide signal descriptions table 1. tri-speed ethernet mac input and output signals port name type active state description clocks and reset sys_clk input n/a system clock . this is used to clock the host interface in all modes. in the gigabit mode, the tx mac is clocked by this signal. all the input and the output signals of the tx mac are synchronous to this clock in the gigabit mode. the frequency is always at 62.5 mhz. rx_appclk output n/a receive mac application i/f clock . this clock is used in the gigabit mode only. all the outputs driven by the rx mac are syn- chronous to this clock. the clocks frequency is 62.5 mhz. gtx_clk output n/a gigabit transmit clock . this clock is used in the gigabit mode only. the transmit signals that are outputs on the gmii interface are synchronous to this clock. this clock has a frequency of 125 mhz. tx_clk input n/a transmit clock . this clock is used in the 10/100 mbps mode only. the tx mac, tx mac application interface and the mii are synchro- nous to this signal. this clock has a frequency of 2.5/25 mhz for 10/100 mbps operation respectively. rx_clk input n/a receive clock . this clock is an input from the phy device. in the gigabit mode, rx_clk frequency is 125 mhz. rx_clk is divided by two to provide the clock to the receive mac section. in the 10/100 mode, the corresponding rx_clk frequency is 2.5/25 mhz respec- tively, provided directly to the receive mac section. the receive signals at the gmii interface are always synchronous to rx_clk . mdc input n/a management data clock. this clock is used only when the man- agement interface module is implemented. reset_n input low reset. this is an active low signal that resets the internal registers and internal logic. when activated, the i/o signals are driven to their inactive levels. host interface hcs_n input low chip select . this is an active low signal used to select the core for register read/write operations. haddr[7:0] input n/a address . this selects one of the internal registers. hdatain[((datawidth-1):0] input n/a data bus input . the cpu writes to the internal registers through the data bus. hwrite_n input low host write . this active low signal is used to write data to the selected register. hread_n input low host read . this active low signal is used to read data from the selected register. hready_n output low ready . this is an active low signal used to indicate the end of transfer. for write operations, hready_n is asserted after data is accepted (written). for read operations hready_n is asserted after data on the hdataout bus is ready to be driven out. hdataout_en_n output low data out enable . this signal is driven low whenever the tri-speed mac outputs valid data onto the hdataout bus. this signal can be used to build a bi-directional data bus. hdataout[(datawidth-1):0] output n/a data bus output . the cpu reads the internal registers through the data bus. transmit mac application interface tx_fifodata[15:0] input n/a transmit fifo read data bus . the data from the fifo is pre- sented on this bus. it is valid only when tx_fifobyten is non-zero.
5 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide tx_fifobyten[1:0] input n/a transmit fifo read data byte enable . the upper bit validates the upper byte of the transmitted data. the lower bit validates the lower byte of the transmitted data. the tri-speed mac expects packed data all the time except for the last word where only one byte could be valid. the tri-speed mac assumes the natural end of frame when these bits do not have the value of 2?11. tx_fifoavail input high transmit fifo data available . when asserted, this indicates that the txfifo has data ready for transmission. tx_fifoeof input high transmit fifo end of frame . this signal is asserted along with the last word/byte of frame data indicating the end of the frame. tx_fifoempty input high transmit fifo empty . this indicates that the txfifo is empty. when this signal is asserted and the tri-speed mac is reading the fifo, the under-run condition is transferred to the network through the txer signal. tx_sndpaustim[15:0] input n/a pause frame timer . this indicates the pause time value that should be sent in the pause frame. tx_sndpausreq input high pause frame request . when asserted, the tri-speed mac transmits a pause frame. this is also the qualifying signal for the tx_sndpausetim bus. tx_fifoctrl input n/a fifo control frame . this signal indicates whether the current frame in the transmit fifo is a control frame or a data frame. it is quali?d by the tx_avail signal. the following values apply: ?1 = control frame ?0 = normal frame tx_staten output high transmit statistics vector enable . when asserted, the contents of the statistics vector bus tx_statvec are valid. tx_macread output high transmit fifo read . this is the tri-speed mac transmit fifo read request, asserted by the tri-speed mac for one clock only when it intends to read the fifo. tx_statvec[30:0] output n/a transmit statistics vector . this includes useful information about the frame that was just transmitted. the corresponding bit locations of this bus are de?ed as follows: ?tx_statvec[0] - unicast frame ?tx_statvec[1] - multicast frame ?tx_statvec[2] - broacast frame ?tx_statvec[3] - bad fcs frame ?tx_statvec[4] - jumbo frame ?tx_statvec[5] - fifo under-run ?tx_statvec[6] - pause frame ?tx_statvec[7] - vlan tagged frame ?tx_statvec[21:8] - number of bytes in the transmitted frame ?tx_statvec[22] - deferred transmission ?tx_statvec[23] - excessive deferred transmission ?tx_statvec[24] - late collision ?tx_statvec[25] - excessive collision ?tx_statvec[29:26] - number of early collisions ?tx_statvec[30] - fcs generation is disabled and a short frame was transmitted tx_done output high transmit done . this signal is asserted for one clock cycle after transmitting a frame if no errors were present in transmission. table 1. tri-speed ethernet mac input and output signals (continued) port name type active state description
6 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide tx_discfrm output high discard frame . this signal is asserted at the end of a frame trans- mit process if the tri-speed mac detected an error. the possible conditions are: ?a fifo under-run ?late collision (10/100 mode only) ?excessive collisions (10/100 mode only) the user application normally moves the pointer to next frame in these conditions. management interface signals mdi input high management data input . used to transfer information from the phy to the management module. mdo output high management data output . used to transmit information from the management module to the phy. mdio_en output high management data out enable . asserted whenever mdo is valid. this may be used to implement a bi-directional signal for mdi and mdo. g/mii signals txd[7:0] output high transmit data sent to the phy chip . in gigabit mode, txd[7:0] are used with a clock rate of 125 mhz. in 10/100 mode, only txd[3:0] are used with a clock rate of 2.5 mhz and 25 mhz respectively txen output high transmit enable . asserted by the tri-speed mac to indicate the txd bus contains valid frame. txer output high transmit error . asserted when the tri-speed mac generates a coding error on the byte currently being transferred. rxdv input high receive data valid . indicates the data on the rxd bus is valid. rxd[7:0] input n/a receive data bus . data is driven by the phy on these lines, and is valid whenever rxdv is asserted. rxer input high receive data error . this signal is asserted by the external phy device when it detects an error during frame reception. col input high collision . this active- high signal indicates a collision occurred during transmission. this signal is valid for half-duplex operation in fast ethernet (10/100) mode only. otherwise, it is ignored. crs input high carrier sense . this signal, when logic high, indicates the network has activity. otherwise, it indicates the network is idle. this signal is valid for half-duplex operation in fast ethernet (10/100) mode only. receive mac application interface rx_fifo_full input high receive fifo full . this signal indicates the rx fifo is full and cannot accept any more data. this is an error condition and should never happen. rx_write output high receive fifo write . this signal is asserted by the tri-speed mac core to request a fifo write. rx_dbout[15:0] output n/a receive fifo data output . this bus contains the data that is to be written into the receive fifo. rx_byten[1:0] output high receive fifo byte enable . indicates which of the bytes in the rx_dbout bus is valid. rx_stat_vector[31:0] output n/a receive statistics vector . this bus indicates the events encoun- tered during frame reception. this bus is quali?d by the rx_stat_en signal. the de?ition of each signal is explained in the receive mac section of this user's guide. rx_stat_en output high receive statistics vector enable . when asserted, this indicates that the contents of the rx_stat_vector bus is valid. table 1. tri-speed ethernet mac input and output signals (continued) port name type active state description
7 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide parameter descriptions the tri-speed mac includes con?urable parameters to allow easy integration with the users application. the con- ?urable parameters are shown in table 2. table 2. tri-speed mac con?uration parameters functional description the tri-speed mac is a fully synchronous machine composed of transmit and receive mac sections that operate independently to support full duplex operation. the block diagram of the tri-speed mac core is shown in figure 2. the major functional modules are: host interface receive mac transmit mac internal buffers and fifo interfaces g/mii (optional) management interface module in the gigabit mode, the 62.5 mhz system clock is supplied to the transmit mac. the system clock multiplied by two is used to clock the gmii interface for data transmission. when receiving data, an external phy device pro- vides the 125 mhz clock to the gmii receive section. the 125 mhz clock is divided by two and used to clock the receive mac. in the 10/100 mode, an external phy device supplies the clock to the transmit mac and the receive mac. ignore_next_pkt input high ignore next packet . this signal is asserted by the host to prevent a receive fifo full condition. the receive mac continues drop- ping packets as long as this signal is asserted. this is an asynchro- nous signal. rx_eof output high end of frame . indicates all the data for the current packet has passed on to the fifo. rx_error output high receive packet error . when asserted, this signal indicates the packet contains error(s). this signal is quali?d with the rx_eof signal. rx_fifo_error output high receive fifo error . this signal is asserted when the rx_fifo_full signal was detected asserted during a fifo write. it is quali?d by rx_eof . parameter value range default description mode 1000 mbps mode, or 10/100 mbps mode 1000 mbps mode this parameter de?es the ethernet speed the core will support. the terms ?000 mbps mode and ?igabit mode are used interchange- ably in this document. ?0/100 mbps mode and ?ast mode are also used interchangeably. miim_module include, or do not include include this parameter determines whether or not the optional miim module will be included in the cores implementation. cpu_data_width 8 bits, or 16 bits 16 bits this parameter determines the data bus width that will be used to com- municate with the host. table 1. tri-speed ethernet mac input and output signals (continued) port name type active state description
8 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide host interface the host interface module is a fully synchronous module that runs off the host clock. a number of registers are ini- tialized via the host interface to ensure that the tri-speed mac functions as intended. the write operation to an internal register is initiated when the hcs_n and hwrite_n signals are asserted and hread_n signal is de- asserted. the address of the targeted register is placed on the haddr bus, while the valid data is placed on the hdatain bus. the contents of the address and data busses should remain unchanged until the tri-speed mac core asserts the hready_n signal . the signals cs_n , hwrite_n and hread_n must remain unchanged until hready_n is asserted. a register read is initiated by asserting the hcs_n and hread_n signals, while keeping the hwrite_n signal de- asserted. the address of the targeted register is placed on the haddr bus . the tri-speed mac places the content of the targeted register on the hdataout bus and quali?s it with the assertion of hready_n signal. the haddr bus should not change until the hready_n signal is asserted. figure 9 shows the timing diagram associated with the host interface write and read operations. receive mac (rx mac) the main function of the rx mac is to accept the formatted data from the g/mii interface and pass it to the host through an external fifo. in this process, the rx mac performs the following functions: detect the start of frame compare the mac address re-calculate crc process the control frame and pass it to the ?w control module. the rx mac operation is determined by programming the mode and tx_rx_ctl registers. programming the mode and tx_rx_ctl registers can control the receive mac operation. the various events that occur during the reception of a frame are logged into the rx_stat_vector signal and the tx_rx_sts regis- ter. at the end of reception, the rx_stat_en signal is asserted to qualify the rx_stat_vector signal. the tri- speed mac core can report a wealth of information such as fifo over?w crc error receive error short frame reception long frame reception ipg violation by default, the entire frame, except the preamble and sfd bytes, is sent to the fifo via the rx mac application interface signals. if the user does not want to receive the fcs, the core can be programmed to strip the fcs ?ld as well as any pad bytes in the frame and send the rest to the fifo. the rx mac section operates on the rx_clk sourced from the phy in the 10/100 mode. all the signals on the receive mac fifo interface are synchronous to this clock. the rx mac operation is synchronized to an internal clock when the tri-speed mac is in the gigabit mode. this internal clock is a divided-by-two version of the rx_clk from the external phy device. in this case, the divided clock is output to the fifo interface as rx_appclk . the output signals from the rx mac interface are synchronous to this clock. the rx mac is disabled while reset_n is low and should only be enabled after the associated registers are prop- erly initialized.
9 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide receiving frames the frames received by the rx mac are analyzed and the preamble and sfd bytes are stripped off the frame before it is transferred to an external fifo. the interface between the mac and the fifo is 16-bit wide. the byte that was received ?st is presented on the data bus lines [15:8], with bit[15] mapped to rxd[0] of the gmii bus. the data bus lines [7:0] carry the following byte, with bit [7] mapped to rxd[0]. the default behavior of the mac is to transfer the unmodi?d frame after stripping off the preamble and sfd bytes. this behavior can be changed by setting bit [1] of the tx_rx_ctl register. when bit [1] is set, the rx mac strips the preamble, sfd, fcs bytes and the pad bytes, if any. once the frame is ready to be written into the fifo, the rx mac asserts the rx_write signal, then presents the data on the rx_dbout bus along with the rx_byten signal to indicate valid bytes are present. the rx_write sig- nal is asserted as long as the frame is being written. after transferring the entire frame into the fifo, the rx mac asserts rx_eof indicating the end of the frame. if the frame is received with errors, rx_error is asserted along with rx_eof . if the frame is received with no errors, rx_error remains de-asserted. in either case, a rich set of statistics vector is presented, containing information about the frame that was received. the statistics vector bus, rx_stat , is quali?d by the assertion of rx_stat_en . if the rxfifo becomes full, rx_fifo_full is asserted and the frame data is lost. therefore, the fifo full condi- tion must be avoided at all times. the rx_fifo_error signal will be asserted along with rx_eof for all frames written into the fifo while it is full. the rx mac goes to the idle state when it is done receiving the frame. this is indicated by bit[10] of the tx_rx_sts register. if the rx mac is disabled while it is in the process of receiving a frame, it goes to the idle state after it completes the current frame reception. address filtering the rx mac offers several address-?tering methods the user can employ to effectively block unwanted frames. it also provides a promiscuous mode, in which all supported ?tering schemes are abandoned and the receive mac transfers all the frames irrespective of the address they contain. by default, the rx mac is con?ured to ?ter and discard broadcast and multicast frames. the mac can be con?- ured to receive broadcast frames by setting bit [7] of the rx_tx_ctl register. multicast frames are received only when bit [4] of the tx_rx_ctl register is set. when set, the multicast frames are subject to ?tering that is depen- dent on a hash table lookup. the six middle bits of the most signi?ant byte of the crc, calculated for the destina- tion address ?ld of the frame, are used to address one of the 64 bits of the hash table. if the retrieved bit is set, a multicast addressed frame is received. if not, it is discarded. all other regular frames are ?tered based on the rx mac address programmed into the mac_addr_0, mac_addr_1 and mac_addr_2 registers. filtering based on frame length the default minimum ethernet frame size is 64 bytes. any frame smaller than 64 bytes could possibly be a collision fragment. by default, the rx mac is con?ured to ignore bytes shorter than 64 bytes. the user can con?ure the mac to receive shorter frames by setting bit [8] of the tx_rx_ctl register. whenever a short frame is received, the appropriate bit is set in the statistics vector, marking it as a short frame. the rx mac has been designed to receive frames larger than the standard speci?d maximum as easily as any other frame. this ensures the mac can work in environments that can generate jumbo frames. however, for statis- tics purposes, the user can set the maximum length of the frame in the max_pkt_size register. when a received frame is larger than the number in this register, bit [31] of the receive statistics vector bus is set, marking it as a long frame. receiving a pause frame when the rx mac receives a pause frame, the tx mac continues with the current transmission, then pauses for the duration indicated in the pause time. during this time, the tx mac can transmit control frames.
10 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide although pause frames may contain the multicast address, multicast ?tering rules do not apply to them. if bit [3] of the tx_rx_ctl register is set, the rx mac will signal the tx mac to stop transmitting for the duration speci?d in the frame. if this bit is reset, the rx mac assumes the tx mac does not have the pause capability and/or does not wish to be paused and will not signal it to stop transmitting. in either case, the pause frame is received and transferred to the fifo. statistics vector by default, a statistics vector is generated for all received frames transferred to the external fifo. if the user wants the rx mac to ignore all incoming frames, then the input signal ignore_next_pkt must be asserted. in this case, a frame that should have been received is ignored and the rx mac sets the packet ignored bit (bit 26) of the statis- tics vector. the max_pkt_len register is programmed by the user as a threshold for setting the long frame bit of the statis- tics vector. this value is used for un-tagged frames only. the receive mac will add ? to the value speci?d in this register for all vlan tagged frames when checking against the number of bytes received in the frame. this is because all vlan tagged frames have additional four bytes of data. when a tagged frame is received, the entire vlan tag ?ld is stored in the vlan_tag register. additionally, every time a statistics vector is generated, some of the bits are written into the corresponding bit locations [9:1] of the tx_rx_sts register. this is done so the user can get this information via the host interface. the description of the bits in the statistics vector bus is shown in table 3. table 3. receive statistics vector description bit description 31 long frame . this bit is set when a frame longer than speci?d in the max_frame_length register is received. 30 short frame . this bit is set when a frame shorter than the value speci?d in the min_frame_length register is received. 29 ipg violation . this bit is set when a frame is received before the ipg timer runs out. 28 preamble shrink . this bit is asserted if the number of preamble bytes received is not equal to seven. 27 carrier event previously seen . 26 packet ignored . when set, this indicates the incoming packet is to be ignored. 25 crc error . this bit is set when a frame is received with an error in the crc ?ld. 24 length check error . this bit is set if the number of data bytes in the incoming frame matches the value in the length ?ld of the frame. 23 receive ok . this bit is set if the frame is received without any error. 22 multicast address . this bit is set to indicate the received frame contains a multicast address. 21 broadcast address . this bit is set to indicate the received frame contains a broadcast address. 20 dribble nibble . this bit is set when only 4 bits of the data presented on the rs interface are valid. 19 unsupported opcode . this bit is set if the received control frame has an unsupported opcode. in this version of the ip, only the opcode for pause frame is supported. 18 control frame . this bit is set to indicate that a control frame was received. 17 pause frame . this bit is set when the received control frame contains a valid pause opcode. 16 vlan tag detected . this bit is set when the tri-speed mac receives a vlan tagged frame. 15:0 frame byte count . this contains the length of the frame that was received. the frame length includes the da, sa, l/t, tag, data, pad and fcs ?lds.
11 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide transmit mac (tx mac) the tx mac is responsible for controlling access to the physical medium. the txmac reads data from an external txfifo when it detects an active tx_fifoavail . the tx mac then formats this data into an ethernet packet and passes it to the g/mii module. the tx mac is disabled while reset_n is low and should only be enabled only after the associated registers are properly initialized. once enabled, the tx mac will continuously monitor the fifo interface for an indication that frame(s) are ready to be transmitted. in the gigabit mode, tx mac and the txfifo interface operations are syn- chronous to sys_clk . in the 10/100 mode, the tx mac is clocked by tx_clk (supplied from the phy device). the txfifo interface signals in the 10/100 mode are synchronous to tx_clk . in 10/100 mode, the tx mac can be con?ured to operate in the half-duplex or full-duplex mode. this is done by writing to bit[5] of the tx_rx_ctl register. in full-duplex operation, it is possible for the receivers buffer to ?l up rapidly. in such cases, the receiver sends ?w control (pause) frames to the transmitter, requesting that it stop transmitting frames. when the receiver is able to free the buffers, the transmitter completes transmitting the current frame and stops for the duration speci?d in the pause frame. transmitting frames by default, the transmit mac is con?ured to generate the fcs pattern for the frame to be transmitted. however, this can be prevented by setting bit[2] of the tx_rx_ctl register. this feature is useful if the frames being pre- sented for transmission already contain the fcs ?ld. when fcs ?ld generation by the mac is disabled, it is the users responsibility to ensure that short frames are properly padded before the fcs is generated. if the mac receives a frame shorter than 64 bytes when fcs generation is disabled, the frame is sent as is and a statistic vec- tor for the condition is generated. the da, sa, l/t, and data ?lds are derived from higher applications through the fifo interface and then encap- sulated into an un-tagged ethernet frame. this frame is not sent over the network until the network has been idle for a minimum of inter packet gap (ipg) time. the frame encapsulation consists of adding the preamble bits, the start of frame data (sfd) bits and the crc check sum to the end of the frame (fcs). if padding is not disabled, all short frames are padded with hexadecimal aa. the input signal tx_eof is asserted along with the last set of data transfer to indicate the end of the frame. the tx mac requires a continuous stream of data for the entire frame. there cannot be any bubbles of ?o data transfer within a frame. the only exception to this rule is the transfer of last set of data which can have only one byte enabled. if the mac is able to transmit the frame without any errors, the tx_done signal is asserted. once the transmission has ended, data on the tx_stat_vector bus is presented to the host - including all the statistical information collected in the process of transmitting the frame. data on this bus is quali?d by assertion of the tx_staten signal. after the transmit mac is done transmitting a frame, it waits for more frames from the fifo interface. during this time, it goes to an idle state that can be detected by reading the tx_rx_sts register. since the mode register can be written at any time, the tx mac can be disabled while it is actively transmitting a frame. in such cases, the mac will completely transmit the current frame and then return to the idle state. the control registers should be programmed only after the mac has returned to the idle state. external transmit fifo the interface between the tx mac and the fifo is 16-bit wide. the byte to be transmitted ?st is presented in posi- tion 15:8. the byte presented on bits 7:0 will be transmitted next. within the respective bytes, the bit presented on positions 15(7) is transmitted ?st and the bit in position 8(0) is transmitted last. in other words, bit[15]([7]) will be transmitted on the txd[0] signal of gmii while the bit[8]([0]) will be transmitted on txd[7]. byte enable bit[1] corre- sponds to the byte in position 15:8 and byte enable [0] corresponds to the byte [7:0]. the fifo signals the mac if the frame ready for transmission at the head of the fifo is a control frame. this is done so the tx mac can continue transmission of a control frame while it is paused.
12 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide fifo under-?w if a fifo under?w occurs, the fifo logic must assert tx_fifoempty . if at least 64 bytes have been transmitted, the tx mac aborts the transmission by asserting tx_er . in addition, the tx mac inserts erroneous crc bits into the packet to guarantee the receiver will detect the error in the packet. if less than 64 bytes have been transmitted when the fifo under?w occurs, the mac will pad the remaining bytes before ending the transmission. in either case, the mac asserts tx_disframe indicating an error during transmission. transmitting pause frame two different methods are used for transmitting a pause frame. in the ?st method, the application layer forms a pause frame and submits it for transmission via the fifo. in the other method, the application layer signals the tx mac directly to transmit a pause frame. this is accomplished by asserting tx_sndpausreg. in this case the tx mac will complete transmission of the current packet and then transmit a pause frame with the pause time value supplied through the tx_sndpaustim bus. retries on collision when operating in the half-duplex mode, the transmit mac has the capability to perform re-transmission of frames that have experienced in-window collision up to the speci?d maximum. this is possible because the mac always buffers the ?st 64 bytes of the frame. this feature can be disabled by setting bit[6] of the tx_rx_ctl register. when retries are disabled, it is the application softwares responsibility to perform retries of collided packets. if the mac has been disabled while it is backing off (soon after a collision), it will only return to the idle state after it has successfully transmitted the frame or has exceeded the retry limit. in the 10/100 mode, the tx mac provides the following information: whether the frame deferred before transmission the number of times the frame experiences collision before transmission. this information is sent as a part of the statistics vector. for a frame transmitted without any errors, the statistics vector, quali?d by the enable signal, is asserted along with the tx_done signal. when the frame experiences excessive deference, excessive collision or late collision, the statistics bit for the appropriate condition is set and the tx_disfrm signal is asserted. this indicates an error condition. internal data buffer and fifo interfaces in the 10/100 mode, the transmit and receive sections each contain fifos to handle packets less than 64 bytes and to provide additional data buffering for normal packets. external transmit and receive fifos are required to store variable-length normal packets. on the transmitting side, the internal fifo stores the ?st 64 bytes of the frame. this ensures that the tri-speed mac can re-transmit the frame automatically without any help from the application software during an in-window collision. this important feature prevents the propagation of collision information into the application software. the core provides a feature where the user can block all the frames that are shorter than the minimum frame length of 64 bytes in the tri-speed mac itself. this prevents the collision fragments from reaching the users application. the receive section contains an internal buffer to support this feature. in the gigabit mode, only the receive section includes a fifo and this support the same functions as in the 10/100 mode. external transmit and receive fifos are required to store variable-length normal packets. the tri-speed mac provides two independent interfaces for use with external transmit and receive fifos. this feature enables the tri-speed mac to support full duplex operation in either 10/100 or gigabit mode.
13 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide g/mii interface the g/mii module uses the clock supplied by the external phy. the core implements the standard g/mii interface to connect to the pcs layer. the module implementing the interface also converts the data to a format usable by the mac. in the gigabit mode, the 8-bit data at the interface is converted to the 16-bit data path of the mac. in the 10/100 mode, the 4-bit mii data is packed and input to the 16-bit mac. although not implemented as a separate module, the reconciliation sub-layer is implemented as a part of the g/mii interface. this module is responsible for passing the data from one clock domain (tri-speed mac) to the other g/mii. (optional) media independent interface management module (miim) the miim accesses management information from the phy device and writes to or reads from the phy registers. a single miim can address up to 32 phy devices. this module runs off its own clock called mdc. the standard speci?s this clock to be at 2.5 mhz, but phy devices can accept a 10-mhz mdc clock. therefore, the tri-speed mac can have a miim that is capable of running at up to 10 mhz. the miim read or write operations are speci?d in the gmii_mng_ctl register. this register also speci?s the addressed phy and the register within the phy that needs to be accessed. the command finished bit in the gmii_mng_ctl register is reset as soon as a command to read or write is given. it is set only when the miim module completes the operation. while the interface is busy, the gmii_mng_ctl register cannot be overwritten, and all write operations to the register are ignored. for a write operation, the data to be written is stored in the gmii_mng_dat register. for a read operation, the data read from the addressed phy is stored in this register. the ready bit in the gmii_mng_ctl is set at the end of the read/write operation. internal registers the tri-speed mac internal registers are initialized through the generic host interface. these rules apply when accessing the internal registers: in 8-bit host interfaces, the individual bytes of the registers are accessed through their corresponding addresses, with the lower address pointing to the lower byte. in 16-bit or greater host interfaces, only even numbered addresses should be used. the reserved bits should be programmed to 0. these bits are invalid, and should be discarded when read. all registers except the mode register can be written into only when the core is in the idle state. the mode register is the only register that can be written after the tri-speed mac is no longer in the reset condition. table 4 lists the tri-speed mac registers accessible via the host interface. the registers are either read/write (r/w) or read only (ro) for status reporting purposes. the values of the registers immediately after the reset condition is removed from the tri-speed mac (por value in hexadecimal format) are also given.
14 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide table 4. tri-speed mac internal registers register descriptions mode (r/w) mnemonic: mode por value = 0000h register description mnemonic i/o address por value mode register mode 00h - 01h 0000h transmit and receive control register tx_rx_ctl 02h - 03h 0000h maximum packet size register max_pkt_size 04h - 05h 05eeh inter packet gap register ipg_val 08h - 09h 0048h tri-speed mac address register 0 mac_addr_0 0ah - 0bh 0000h tri-speed mac address register 1 mac_addr_1 0ch - 0dh 0000h tri-speed mac address register 2 mac_addr_2 0eh - 0fh 0000h transmit and receive status tx_rx_sts 12h - 13h 0000h gmii management interface control register gmii_mng_ctl 14h - 15h 0000h gmii management data register gmii_mng_dat 16h - 17h 0000h vlan tag length/type register vlan_tag 32h - 33h 0000h multicast_table_0 mlt_tab_0 22h - 23h 0000h multicast_table_1 mlt_tab_1 24h - 25h 0000h multicast_table_2 mlt_tab_2 26h - 27h 0000h multicast_table_3 mlt_tab_3 28h - 29h 0000h multicast_table_4 mlt_tab_4 2ah - 2bh 0000h multicast_table_5 mlt_tab_5 2ch - 2dh 0000h multicast_table_6 mlt_tab_6 2eh - 2fh 0000h multicast_table_7 mlt_tab_7 30h - 31h 0000h pause_opcode paus_op 34h - 35h 0080h name range description rsvd 15:4 reserved . tx_en 3 transmit enable . when this bit is set, the tx mac is enabled to transmit frames. when reset, the tx mac completes transmission of the packet currently being processed, then stops. rx_en 2 receive enable . when this bit is set, the rx mac is enabled to receive frames. when reset, the rx mac completes reception of the packet currently being processed, then stops. fc_en 1 flow-control enable . when set, this enables the ?w control functionality of the tx mac. this bit should be set for the tx mac either to pause or to transmit a pause frame. gbit_en 0 gigabit enable . in gigabit mode, this bit is always high and cannot be overwritten. in 10/100 mode, this bit is always low and cannot be overwritten.
15 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide transmit and receive control (r/w) mnemonic: tx_rx_ctl por value = 0000h this register can be overwritten only when the rx mac and the tx mac are disabled. this register controls the var- ious features of the mac. maximum packet size (r/w) mnemonic: max_pkt_size por value = 05eeh (1518 decimal) this register can be overwritten only when the mac is disabled. all frames longer than the value (number of bytes) in this register will be tagged as long frames. ipg (inter packet gap) (r/w) mnemonic: ipg_val por value = 0048h name range description rsvd 15:9 reserved . receive_short 8 receive short frames . when high, enables the rx mac to receive frames shorter than 64 bytes. receive_brdcst 7 receive broadcast . when high, enables the rx mac to receive broadcast frames dis_rtry 6 disable retry (10/100 mode only). when high, disables retry on collision. hden 5 half-duplex enable (10/100 mode only). when high, con?ures the tx mac to operate in half-duplex mode. receive_mltcst 4 receive multicast . when high, the multicast frames will be received per the ?tering rules for such frames. when low, no multicast (except pause) frames will be received. receive_pause 3 receive pause . when set, the rx mac will indicate the pause frame reception to the tx mac. in either case, pause frames are received and transferred to the fifo. tx_dis_fcs 2 transmit disable fcs . when set, the fcs ?ld generation is disabled in the tx mac. discard_fcs 1 rx discard fcs and pad . when set, the fcs and any of the padding bytes are stripped off the frame before it is transferred to the fifo. when low, the entire frame is transferred as is. prms 0 promiscuous mod e. when asserted, all ?tering schemes are abandoned and the rx mac receives frames with any address. name range description max_frame 15:0 maximum size of the packet than can be handled by the core. name range description rsvd 15:5 reserved. ipg 4:0 inter-packet gap value in units of bit time.
16 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide mac address register {0,1,2} (r/w), set of three mnemonic: mac_add por value = 0000h. the mac address registers 0-2 contain the ethernet address of the port. the mac address register [0] has the two bytes that are transmitted ?st and the mac address register [2] has the two bytes that are transmitted last. bit[15] is transmitted ?st while bit[0] is transmitted last. transmit and receive status (ro) mnemonic: tx_rx_sts por value = 0000h this register reports events that have occurred during packet reception and transmission. vlan tag (ro) mnemonic: vlan_tag por value = 0000h. the vlan tag register has the vlan tag ?ld of the most recent tagged frame that was received. this is a read only register. name range description mac_addr 15:0 ethernet address assigned to the port supported by the tri-speed mac. name range description rsvd 15:11 reserved . rx_idle 10 receive mac idle . receive mac in idle condition used to reset con?urations by cpu interface. tagged_frame 9 tagged frame . tagged frame received. brdcst_frame 8 broadcast frame . indicates that a broadcast packet was received. multcst_frame 7 multicast frame . indicates that a multicast packet was received. ipg_shrink 6 ipg shrink . received frame with shrunk ipg (ipg < 96 bit time). short_frame 5 short packet . indicates that a packet shorter than 64 bytes has been received. long_frame 4 too long packet . indicates receipt of a packet longer than the maximum allowable packet size speci?d in the max_pkt_size register. error frame 3 rx_er asserted . indicates the frame was received with the rx_er signal asserted. crc 2 crc error . indicates a packet was received with a crc error. pause_frame 1 pause frame . indicates a pause frame was received. tx_idle 0 transmit mac idle . transmit mac in idle condition, used to reset con?urations by cpu interface. name range description vlan 15:0 this ?ld de?es length/type of ?ld of the vlan tag when inserted into transmitted frames.
17 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide gmii management register access control (r/w) mnemonic: gmii_mng_ctl por value = 0000h. the gmii management access register controls the management interface module. this register can be overwrit- ten only when the interface is not busy. a write operation will be ignored when the interface is busy. gmii management access data (r/w) mnemonic: gmii_mng_dat por value = 0000h. the contents of this register will be transmitted when a write operation is to be performed. when a read operation is performed, this register will contain the value that was read from a phy register. this register should be read only after the cmd_? bit in the control register is set. multicast tables (r/w), set of eight mnemonic: mlt_tab_[0-7] por value = 0000h. when the core is programmed to receive multicast frames, a ?tering scheme is used to decide whether the frame should be received or not. the six middle bits of the most signi?ant byte of the crc value, calculated for the des- tination address, are used as a key to the 64-bit hash table. the three most signi?ant bits select one of the eight tables, and the three least signi?ant bits select a bit. the frame is received only if this bit is set. name range description rsvd 15 reserved . cmd_fin 14 command finished . when high, it means the interface has completed the intended oper- ation. this bit is set to 0 when the interface is busy. rw_phyreg 13 read/write phy registers ?when ? -> write operation ?when ? -> read operation phy_add 12:8 gmii phy address . the address of the accessed phy bit 12 is the most signi?ant bit, and it is the ?st phy address bit to be transmitted and received. rsvd 7:5 reserved . reg_add 4:0 gmii register address . the address of the register accessed. bit 4 is the most signi?ant bit and is the ?st register address bit to be transmitted or received. name range description gmii_dat 15:0 gmii data . bit 15 is the most signi?ant bit, corresponding to bit 15 of the accessed regis- ter. name range description multicast_table_[0-7] 15:0 multicast table . eight tables that make a 64-bit hash.
18 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide pause opcode (r/w) mnemonic: paus_op por value = 0080h this register contains the pause opcode, this will be compared against the opcode in the received pause frame. this value will also be included in any pause frame transmitted by the tri-speed mac. bit 15 is transmitted ?st and bit 0 is transmitted last. timing diagrams the operational timing diagrams applicable to the tri-speed mac interfaces are shown below: 1. reception of a 64-byte frame without error -rx mac application interface (gigabit mode) figure 3. reception of a 64-byte frame without error name range description pause_opcode 15:0 pause opcode . rx_appclk 11 rx_byte_en[1:0] 11 0 0 1,2 3,4 5,6 59,60 61,62 63,64 rx_dbout[15:0] rx_write rx_stat_en valid rx_stat_vector[31:0] rx_eof rx_error rx_fifo_error
19 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide 2. reception of a 64-byte frame with error(s) - rx mac application interface (gigabit mode) the signal rx_error is asserted to indicate that the 64-byte frame was received with error(s). figure 4. reception of a 64-byte frame with error 3. reception of a 64-byte frame with fifo over?w - rx mac application interface (gigabit mode) the fifo writing operation is suspended whenever an over?w condition occurs. when this condition occurs, the tri-speed mac asserts rx_fifo_error . this signal should be sampled along with rx_eof in order to process the error condition. figure 5. reception of a 64-byte frame with fifo over?w rx_appclk 11 rx_byte_en[1:0] 11 0 0 1,2 3,4 5,6 59,60 61,62 63,64 rx_dbout[15:0] rx_write rx_stat_en valid rx_stat_vector[31:0] rx_eof rx_error rx_fifo_error rx_fifo_full rx_fifo_error rx_appclk rx_byte_en[1:0] rx_dbout[15:0] rx_write rx_stat_en rx_stat_vector[31:0] rx_eof rx_error 11 11 0 0 1,2 3,4 5,6 59,60 61,62 63,64 valid
20 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide 4. successful transmission of a 64-byte frame -tx mac application interface (gigabit mode) the assertion of tx_fifoavail indicates a frame is waiting to be transmitted. the tri-speed mac reads the fifo and the data is transmitted until tx_fifoeof is asserted. once the frame is transmitted, tx_staten is asserted to qualify the statistic vector, tx_statvec . the signal tx_done is asserted to indicate a successful transmission. this is shown in figure 6. figure 6. transmission of a 64-byte frame without error sine_tx_clk tx_fifobyten[1:0] tx_fifodata[15:0] tx_macread tx_staten tx_staten[31:0] tx_fifoeof tx_fifoempty tx_discfrm sine_tx_firame_ready tx_done 11 11 0 0 1,2 3,4 59,60 61,62 63,64 valid
21 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide 5. successful transmission of a 64-byte frame with fifo empty - tx mac application interface (gigabit mode) tx_fifoempty is asserted along with tx_fifoe of to indicate that the complete 64-byte frame has been read. the frame is transmitted as a valid frame and tx_done is asserted at the end of transmission. figure 7. successful transmission of a 64-byte frame with fifo empty tx_clk tx_fifobyten[1:0] tx_fifodata[15:0] tx_macread tx_staten tx_staten[31:0] tx_fifoeof tx_fifoempty tx_discfrm tx_fifoavail tx_done 11 11 0 0 1,2 3,4 59,60 61,62 63,64 valid
22 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide 6. aborted transmission due to fifo empty - tx mac application interface (gigabit mode) if the tx_fifoempty is asserted while the tx mac is in the process of reading a frame, the mac will stop reading the frame and assert tx_disfrm to indicate an erroneous transmission. the frame transmission is abandoned when this occurs. figure 8. aborted transmission due to fifo empty tx_clk tx_fifobyten[1:0] tx_fifodata[15:0] tx_macread tx_staten tx_staten[31:0] tx_fifoeof tx_fifoempty tx_done tx_fifoavail tx_discfrm 11 11 0 0 1,2 3,4 59,60 61,62 63,64 valid
23 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide 7. host interface read/write operation during a write operation, haddr associated with hdatain , hcs_n and hwrite_n performs a write operation to an internal register. the end of transaction is indicated by assertion of hready_n . during a read operation, haddr associated with hcs_n and hread_n forms a write operation. the end of transaction is indicated by the assertion of hready_n and hdataout_en_n along with the valid read data on hdataout . figure 9. host interface read/write operation 8. management interface read/write operation during a write operation, mdio_en is asserted and the data is transmitted on mdo. during a read operation, mdio_en is asserted while the address is being transferred. once this is done, it is de-asserted for rest of the transfer enabling the phy to deliver data on mdi. figure 10. management interface read and write operations hclk haddr hdatain hdataout addr b data a [addr_width-1:0] [data_width-1:0] [data_width-1:0] hcs_n hread_n hwrite_n hready_n hdataout_en_n data b addr a write operation read operation mdc mdio_en mdo mdi address and write data address of register being read write operation read operation read data
24 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide 9. gmii transmit and receive operations (gigabit mode) txd and tx_en are driven synchronous to the gtx_clk during transmit operations. when the frame being trans- mitted has an error, tx_er is asserted. when receiving data, rxd and rx_en are sampled on the rising edge of rx_clk . an error in the frame is indicated when rx_er is asserted. figure 11. gmii transmit and receive operations gtx_clk tx_en valid frame data valid frame data txd[0:7] tx_er frame without error frame with error rx_clk rx_en valid frame data valid frame data rxd[0:7] rx_er frame without error frame with error
25 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide 10. mii transmit and receive operations (10/100 mode) on the transmit side, txd and tx_en are driven synchronous to the gtx_clk . tx_er is asserted to indicate that the frame being transmitted has an error. on the receive interface, rxd and rx_en are sampled on the rising edge of rx_clk . an error in the frame is indi- cated when rx_er is high when sampled on the rising clock edge. col and crs are asynchronous signals, useful in the half-duplex mode only. figure 12. mii transmit and receive operations custom core con?urations to request tri-speed mac core con?urations not available in the evaluation package, please contact your lattice sales of?e. reference information the following documents provide more information on implementing this core: isplever software user manual isplevercore ip module evaluation tutorial available on the lattice web site at www .latticesemi.com technical support assistance hotline: 1-800-lattice (north america) +1-503-268-8001 (outside north america) e-mail: techsupport@latticesemi.com internet: www .latticesemi.com tx_clk tx_en valid frame data valid frame data txd[0:3] col rx_clk rx_en valid frame data valid frame data rxd[0:3] rx_er frame without error frame with error crs tx_er frame without collision frame with collision
26 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide appendix for orca series 4 fpgas or fpscs table 5. performance and resource utilization 1 supplied netlist con?urations the ordering part number (opn) for all 1000mbps con?urations of this core on orca series 4 is ether-1gig- 04-n3. the ordering part number (opn) for all 10/100mbps con?urations of this core on orca series 4 is ether-fast-04-n3. table 5 lists the netlist con?urations that are available in the evaluation package for this core, which can be downloaded from the lattice web site at www .latticesemi.com . you can use the ipexpress software tool to help generate new con?urations of this ip core. ipexpress is the lat- tice ip con?uration utility, and is included as a standard feature of the isplever design tools. details regarding the usage of ipexpress can be found in the ipexpress and isplever help system. for more information on the isplever design tools, visit the lattice web site at: www .latticesemi.com/softw are . name of parameter file mode (mbps) cpu data width miim module luts orca 4 pfus registers i/os system ebr (ram512) f max ether_1gig_o4_3_001.lpc 1000 16 no 1747 364 1313 201 1 125 mhz (gmii) ether_fast_o4_3_002.lpc 10/100 16 yes 2581 548 1850 198 2 62.5 mhz sys_clk, 25mhz mii host clks (phy side) 1. performance and utilization characteristics using isplever software and targeting the orca4e04-2ba352c. when using this ip co re in a different density, package, speed, or grade within the orca 4 family, performance may vary.
27 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide appendix for ispxpga fpgas table 6. performance and resource utilization 1 supplied netlist con?urations the ordering part number (opn) for all 1000mbps con?urations of this core on ispxpga is ether-1gig-xp- n3. the ordering part number (opn) for all 10/100mbps con?urations of this core on orca ispxpga is ether- fast-xp-n3. table 6 lists the netlist con?urations that are available in the evaluation package for this core, which can be downloaded from the lattice web site at www .latticesemi.com . you can use the ipexpress software tool to help generate new con?urations of this ip core. ipexpress is the lattice ip con?uration utility, and is included as a standard feature of the isplever design tools. details regarding the usage of ipexpress can be found in the ipexpress and isplever help system. for more information on the isplever design tools, visit the lattice web site at: www .latticesemi.com/softw are . name of parameter file mode (mbps) cpu_data _width miim module lut4s pfus registers i/os system ebrs f max ether_1gig_xp_1_001.lpc 1000 16 no 2084 744 1502 201 2 125 mhz (gmii) ether_fast_xp_1_002.lpc 10/100 16 yes 3545 1156 2179 198 4 62.5 mhz sys_clk, 25mhz mii host clks (phy side) 1. performance and utilization characteristics using isplever software and targeting the lfx500b-04fh516c device. the evaluatio n ver- sion of this ip core only works on this speci? device density, package, and speed grade.
28 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide appendix for latticeecp and latticeec fpgas table 7. performance and resource utilization 1 supplied netlist con?urations the ordering part number (opn) for all 1000mbps con?urations of this core on latticeecp/ec is ether-1gig- e2-n3. the ordering part number (opn) for all 10/100mbps con?urations of this core on latticeecp/ec is ether-fast-e2-n3. table 7 lists the netlist con?urations that are available in the evaluation package for this core, which can be downloaded from the lattice web site at www .latticesemi.com . you can use the ipexpress software tool to help generate new con?urations of this ip core. ipexpress is the lattice ip con?uration utility, and is included as a standard feature of the isplever design tools. details regarding the usage of ipexpress can be found in the ipexpress and isplever help system. for more information on the isplever design tools, visit the lattice web site at: www .latticesemi.com/softw are . name of parameter file mode (mbps) cpu_data _width miim module lut4s slices registers i/os system ebrs f max ether_1gig_e2_3_001.lpc 1000 16 no 1681 1318 1339 201 2 125 mhz (gmii) ether_fast_e2_3_006.lpc 10/100 16 yes 2712 1892 1792 198 4 62.5 mhz sys_clk, 25mhz mii host clks (phy side) 1. performance and utilization characteristics are generated using lfec20e-4f672c in lattice isplever 4.1 software. when using this ip core in a different density, package, or speed grade, performance may vary.
29 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide appendix for latticexp fpgas table 8. performance and resource utilization 1 supplied netlist con?urations the ordering part number (opn) for all 1000mbps con?urations of this core on latticexp is ether-1gig-xm- n3. the ordering part number (opn) for all 10/100mbps con?urations of this core on latticexp is ether-fast- xm-n3. table 8 lists the netlist con?urations that are available in the evaluation package for this core, which can be downloaded from the lattice web site at www .latticesemi.com . you can use the ipexpress software tool to help generate new con?urations of this ip core. ipexpress is the lattice ip con?uration utility, and is included as a standard feature of the isplever design tools. details regarding the usage of ipexpress can be found in the ipexpress and isplever help system. for more information on the isplever design tools, visit the lattice web site at: www .latticesemi.com/softw are . name of parameter file mode (mbps) cpu_data _width miim module lut4s slices registers i/os system ebrs f max ether_1gig_xm_3_001.lpc 1000 16 no 1730 1328 1340 201 2 125 mhz (gmii) ether_fast_xm_3_006.lpc 10/100 16 yes 3008 1892 1839 198 4 62.5 mhz sys_clk, 25mhz mii host clks (phy side) 1. performance and utilization characteristics are generated using lfxp10c-4f388c in lattice isplever 5.0 software. when using this ip core in a different density, package, or speed grade, performance may vary.
30 10/100 and 1gig ethernet lattice semiconductor media access controller user? guide appendix for latticesc fpgas table 9. performance and resource utilization 1 supplied netlist con?urations the ordering part number (opn) for all 1000mbps con?urations of this core on latticesc is ether-1gig-sc- n3. the ordering part number (opn) for all 10/100mbps con?urations of this core on latticesc is ether-fast- sc-n3. table 9 lists the netlist con?urations that are available in the evaluation package for this core, which can be downloaded from the lattice web site at www .latticesemi.com . you can use the ipexpress software tool to help generate new con?urations of this ip core. ipexpress is the lattice ip con?uration utility, and is included as a standard feature of the isplever design tools. details regarding the usage of ipexpress can be found in the ipexpress and isplever help system. for more information on the isplever design tools, visit the lattice web site at: www .latticesemi.com/softw are . name of parameter file mode cpu_data_width miim module lut4s slices registers i/os system ebrs f max (mhz) ether_1gig_sc_3_001.lpc 1000 16 no 1929 1301 1333 201 1 125 mhz (gmii) ether_fast_sc_3_006.lpc 10/100 16 ye s 2856 1910 1831 198 2 62.5 mhz sys_clk, 25mhz mii host clks (phy side) 1. performance and utilization characteristics are generated using lfsc3ga25e-5f900c in lattice isplever 5.1 sp2 software. when using this ip core in a different density, package, or speed grade, performance may vary.


▲Up To Search▲   

 
Price & Availability of ETHER-FAST-XP-N3

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X